<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
div{
	width:500px;
	margin: 0 auto;
}
ul {
	display: inline;
}

ul li {
	display: inline;
	color: red;
}
</style>
</head>
<body>
	<h3 align="center">添加管理员</h3>
	<div>
		<s:form action="/admin_add" theme="simple">
			<s:token/>
			登录名称：<s:textfield name="admin.userName" /><s:fielderror fieldName="admin.userName"/><br> 
			登录密码：<s:password name="admin.password"/><s:fielderror fieldName="admin.password"/><br> 
			确认密码：<s:password name="repassword"/><s:fielderror fieldName="repassword"/><br>
			<s:submit value="提交"/>
		</s:form>
	</div>
</body>
</html>